.theme-light {
	--navigation-card-tab-component-bg: var(--background-light);
}


.theme-dark {
	--navigation-card-tab-component-bg: var(--background-dark);
}



/* 主模态框样式 */
.navigation-card-tab {
	padding: 0;
	height: 100%;
}

.navigation-card-tab-title {
	margin: 0;
	font-size: 1.5rem;
	color: var(--text-normal);
}

.navigation-card-tab-toolbar {
	height: 55px;
	border-bottom: 1px solid var(--divider-color);
	width: calc(100% - var(--size-4-4) - var(--size-4-4));
	margin: var(--size-4-4);
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding-bottom: 10px;
}

.navigation-card-tab-toolbar-left {
	width: 260px;
}

.navigation-card-tab-toolbar-add-button {
	padding: 8px var(--size-4-4);
	border: none;
	border-radius: 4px;
	cursor: pointer;
	transition: none;
}

.navigation-card-tab-toolbar-open-win-button {
	padding: 8px var(--size-4-4);
	background-color: var(--interactive-normal);
	border: none;
	border-radius: 4px;
	cursor: pointer;
	transition: none;
	margin-left: 10px;
}

.navigation-card-tab-toolbar-open-win-button:hover {
	background-color: var(--interactive-hover);
}

.navigation-card-tab-toolbar-right {
	width: 320px;
	position: relative;
}

.navigation-card-tab-toolbar-search-input {
	width: 100%;
	padding: 10px 10px 10px 36px !important;
	border: 1px solid var(--background-modifier-border);
	border-radius: 4px;
	background-color: var(--background-secondary);
	color: var(--text-normal);
}

.navigation-card-tab-toolbar-search-icon {
	position: absolute;
	left: 12px;
	top: 50%;
	transform: translateY(-50%);
	color: var(--text-muted);
	width: var(--size-4-4);
	height: var(--size-4-4);
	display: inline-block;
	border: 2px solid currentColor;
	border-radius: 50%;
	box-sizing: border-box;
}

.navigation-card-tab-category-buttons {
	margin-left: var(--size-4-4);
	margin-right: calc(var(--size-4-4) / 2);
	padding-bottom: calc(var(--size-4-4) / 2);
}

.navigation-card-tab-category-buttons .navigation-card-tab-category-button {
	margin-right: calc(var(--size-4-4) / 2);
    margin-bottom: 5px;
    /*background-color: #f5f6f7;*/
    position: relative;
    box-shadow: none;
    position: relative;
    height: 25px
}

/*.navigation-card-tab-category-buttons .navigation-card-tab-category-button::before {
	border-radius: 4px;
    position: absolute;
    left: 0%;
    bottom: -5px;
    width: 100%;
    height: 2px;
    content: "";
	background-color: transparent;
}*/

.navigation-card-tab-category-buttons .navigation-card-tab-category-button:hover{
	color: var(--icon-color-active);
	background-color: var(--background-modifier-active-hover);
}

/*.navigation-card-tab-category-buttons .navigation-card-tab-category-button:hover::before {
	background-color: var(--icon-color-active);
}*/

.navigation-card-tab-category-buttons .navigation-card-tab-category-button.active{
	color: var(--icon-color-active);
	background-color: var(--background-modifier-active-hover);
}

/*.navigation-card-tab-category-buttons .navigation-card-tab-category-button.active::before{
	background-color: var(--icon-color-active);
}*/

/* 卡片容器样式 */
.navigation-card-tab-cards-container {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
	gap: var(--size-4-4);
	height: 100%;
	overflow-y: auto;
	padding: var(--size-4-4);
	padding-top: calc(var(--size-4-4) / 2);
	grid-auto-rows: min-content;
}

.navigation-card-tab-cards-container-empty {
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	min-height: 200px;
	height: 100%;
	padding: var(--size-4-4);
	padding-top: calc(var(--size-4-4) / 2);
}

.navigation-card-tab-empty-img {
	max-width: 120px;
	max-height: 120px;
	margin-bottom: 8px;
}

.navigation-card-tab-empty-label {}

/* 导航卡片样式 */
.navigation-card-tab-navigation-card {
	background-color: var(--navigation-card-tab-component-bg);
	border-radius: 6px;
	padding: var(--size-4-4);
	cursor: pointer;
	position: relative;
	z-index: 10;
	border: 1px solid var(--divider-color);
	backdrop-filter: blur(6px);
}

.navigation-card-tab-navigation-card::before {}

.navigation-card-tab-navigation-card:hover {
	background-color: var(--background-secondary);
	box-shadow: 1px 2px 5px rgba(0, 0, 0, 0.1);
	transition: transform 0.2s, box-shadow 0.2s;
}

.navigation-card-tab-navigation-card.starred {
	border-color: var(--divider-color);
}

.navigation-card-tab-navigation-card-label {
	font-weight: 600;
	margin-bottom: 10px;
	color: var(--text-normal);
	word-break: break-all;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
	position: relative;
}

.navigation-card-tab-navigation-card-url {
	height: 20px;
	font-size: 0.85rem;
	color: var(--text-muted);
	margin-bottom: 8px;
	word-break: break-all;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
	position: relative;
}



.navigation-card-tab-navigation-card-footer {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 8px;
	position: relative;
}

.navigation-card-tab-navigation-card-category {
	font-size: 0.85rem;
	color: var(--text-muted);
}

.navigation-card-tab-navigation-card-actions {
	display: flex;
	justify-content: flex-end;
	gap: 8px;
	position: relative;
}

/* 卡片按钮样式 */
.navigation-card-tab-star-button,
.navigation-card-tab-edit-button,
.navigation-card-tab-delete-button {
	background: none;
	border: none;
	cursor: pointer;
	border-radius: 4px;
	transition: none;
	width: 24px;
	height: 24px;
	line-height: 22px;
	box-shadow: none !important;
	border: 1px solid var(--divider-color);
}

.navigation-card-tab-star-button {
	color: var(--text-muted);
}

.navigation-card-tab-star-button.active {
	color: #f5c10b;
}

.navigation-card-tab-star-button:hover {
	background-color: rgba(241, 187, 8, 0.1);
	color: #f5c10b;
	box-shadow: none;
	border: 1px solid var(--divider-color);
}

.navigation-card-tab-edit-button {
	color: var(--text-muted);
}

.navigation-card-tab-edit-button:hover {
	background-color: rgba(75, 192, 192, 0.1);
	color: #4464f5;
	box-shadow: none;
	border: 1px solid var(--divider-color);
}

.navigation-card-tab-edit-modal-select {
	width: 100%;
}

.navigation-card-tab-delete-button {
	color: var(--text-muted);
}

.navigation-card-tab-delete-button:hover {
	background-color: rgba(235, 64, 52, 0.1);
	color: #eb4034;
	box-shadow: none;
	border: 1px solid var(--divider-color)
}

/* 编辑覆盖层样式 */
.navigation-card-tab-edit-overlay {
	position: fixed;
	inset: 0;
	background: rgba(0, 0, 0, 0.015);
	display: flex;
	align-items: center;
	justify-content: center;
	z-index: 1000;
}

.navigation-card-tab-edit-modal {
	background: var(--background-primary);
	padding: 24px;
	border-radius: 8px;
	width: 600px;
	box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
	z-index: 1001;
}

.navigation-card-tab-edit-modal h3 {
	margin-top: 0;
	color: var(--text-normal);
}

/* 表单样式 */
.navigation-card-tab-edit-modal-form-group {
	margin-bottom: var(--size-4-4);
}

.navigation-card-tab-edit-modal-star-form-group {
	display: flex;
	align-items: center;
}

.navigation-card-tab-edit-modal-label {
	display: block;
	margin-bottom: 6px;
	color: var(--text-normal);
	font-size: 0.9rem;
}

.navigation-card-tab-edit-modal-input {
	width: 100%;
	height: var(--input-height);
	-webkit-app-region: no-drag;
	background: var(--background-modifier-form-field);
	border: var(--input-border-width) solid var(--background-modifier-border-focus);
	color: var(--text-normal);
	font-family: inherit;
	padding: var(--size-4-1) var(--size-4-2);
	font-size: var(--font-ui-small);
	border-radius: var(--input-radius);
}


.navigation-card-tab-edit-modal-start-label {
	display: inline-block;
	margin-right: 8px;
}

.navigation-card-tab-edit-modal-button-group {
	display: flex;
	justify-content: flex-end;
	gap: 10px;
	margin-top: 24px;
}

/* 新窗口覆盖层样式 */
.navigation-card-tab-new-win-overlay {
	position: fixed;
	inset: 0;
	background: rgba(0, 0, 0, 0.015);
	display: flex;
	align-items: center;
	justify-content: center;
	z-index: 1000;
}

.navigation-card-tab-new-win-modal {
	background: var(--background-primary);
	padding: 24px;
	border-radius: 8px;
	width: 600px;
	box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
	z-index: 1001;
}

.navigation-card-tab-new-win-modal h3 {
	margin-top: 0;
	color: var(--text-normal);
}

/* 表单样式 */
.navigation-card-tab-new-win-modal-form-group {
	margin-bottom: var(--size-4-4);
}

.navigation-card-tab-new-win-modal-label {
	display: block;
	margin-bottom: 6px;
	color: var(--text-normal);
	font-size: 0.9rem;
}

.navigation-card-tab-new-win-modal-input {
	width: 100%;
	padding: 8px;
	border: 1px solid var(--background-modifier-border);
	border-radius: 4px;
	background-color: var(--background-secondary);
	color: var(--text-normal);
}

.navigation-card-tab-new-win-modal-button-group {
	display: flex;
	justify-content: flex-end;
	gap: 10px;
	margin-top: 24px;
}

:has(> .tree-item-self.nav-file-title.tappable.is-clickable.is-unsupported[data-path$=".hippo"]) {
	display: none !important;
}

.navigation-card-tab-setting-title-row {
	display: flex;
	align-items: center;
	justify-content: space-between;
}

.navigation-card-tab-setting-title-row .navigation-card-tab-setting-add-btn {}

.navigation-card-tab-category-modal-title {}